package model

import (
	"time"
)

type AuLottoryTicket struct {
	Id                    int       `xorm:"not null pk autoincr INT(11)"`
	LotId                 int       `xorm:"not null unique(lot_ticket) INT(11)"`
	LottoryTicketNum      int       `xorm:"not null unique(lot_ticket) INT(11)"`
	LottoryTicketComefrom int       `xorm:"not null TINYINT(4)"`
	Uid                   int       `xorm:"not null INT(11)"`
	InviteUid             int       `xorm:"not null default 0 INT(11)"`
	LottoryTicketStatus   int       `xorm:"not null default 0 TINYINT(4)"`
	CreateTime            time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' TIMESTAMP"`
}
